﻿using 为web添加unity.caching在controller中注入.Models;
using Project.UnityCaching;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Web;

namespace 为web添加unity.caching在controller中注入.Repository
{
    public interface IUserRepository
    {
        IQueryable<User_Info> GetModel();
        [Caching(CachingMethod.Get)]
        IEnumerable<User_Info> Fetch(Expression<Func<User_Info, bool>> predicate, int skip, int count);
    }
}